package com.dcjt.firehotcarpad.utils;

import android.app.Activity;
import android.os.Bundle;

import com.aries.library.fast.util.FastStackUtil;
import com.aries.library.fast.util.FastUtil;
import com.dcjt.firehotcarpad.moudle.LoginActivity;

public class LoginStatusUtils {
    /**
     * 退出登录
     */
    public static void loginOut(Activity mContext,Boolean isTokenOld) {
        FastStackUtil.getInstance().popAll();
        Bundle bundle = new Bundle();
        bundle.putBoolean("isTokenOld", isTokenOld);
        FastUtil.startActivity(mContext, LoginActivity.class,bundle);
    }
}
